package cn.itcast.service.cargo;

import cn.itcast.domain.cargo.Finance;
import cn.itcast.domain.cargo.FinanceExample;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface FinanceService {
    int insert(Finance record);

    int insertSelective(Finance record);

    List<Finance> selectByExample(FinanceExample example);

    PageInfo<Finance> findByPage(FinanceExample financeExample, int pageNum, int pageSize);

    Finance findById(String id);
}
